Stock Prices Prediction and Forecasting using Keras LSTM

Data Preprocessing

Importing necessary libraries

Importing Training Dataset

Feature Scaling

Reshaping Dataset

Importing Keras Libraries and Packages

Model Building

Initialising the Recurrent Neural Network (RNN)

Adding first LSTM layer and some dropouts

Adding second LSTM layer and some dropouts

Adding third LSTM layer and some dropouts

Adding fourth LSTM layer and some dropouts

Adding the output layer

Model Compiling and Fitting

Model Prediction

Getting the real stock price of TATAGLOBAL in 2017

Getting predicted stock price of 2017 TATAGLOBAL

Visualizing the Predicted and Real results